﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CMSModel
{
    /// <summary>
    /// 用户推荐
    /// </summary>
    public class UserRecommend
    {
        /// <summary>
        /// 编号
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 文章编号
        /// </summary>
        public int DocId { get; set; }
        /// <summary>
        /// 文章
        /// </summary>
        public virtual Doc Doc { get; set; }
        /// <summary>
        /// 用户编号
        /// </summary>
        public int UserId { get; set; }
        /// <summary>
        /// 用户
        /// </summary>
        public virtual User User { get; set; }
        /// <summary>
        /// 推荐时间
        /// </summary>
        public DateTime Pdate { get; set; }

        public UserRecommend()
        {
            this.DocId = int.MinValue;
            this.Id = int.MinValue;
            this.UserId = int.MinValue;
        }
    }
}
